package com.qbm.association.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qbm.association.entity.JoinActivity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qbm.association.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Aron
 * @since 2022-02-07
 */
public interface JoinActivityMapper extends BaseMapper<JoinActivity> {
    IPage<List<HashMap<Object, Object>>> getAllCanJoinActivityByStatus(
            Page page, @Param("name") String activityName, @Param("id") Integer id, @Param("joinActivityStatus") Integer joinActivityStatus,
            @Param("activityStatus") Integer activityStatus);


}
